package com.hnevc.thread;

public class ThreadDemo2 extends Thread {
	public void run() {
		for (int i = 0; i < 100; i++) {
			System.out.println("run: "+i);
		}
	}
	public static void main(String[] args) {
		ThreadDemo2 td  = new ThreadDemo2();
		td.start();
		for (int i = 0; i < 100; i++) {
			System.out.println("main: "+i);
		}
	}
}